
<div class="cuerpo-acerca-de">
    <h2>Acerca de / <a style="color: #59C5D1;">
            <?php
            if ($_GET['cat']) {
                echo get_cat_name($_GET['cat']);
            } elseif ($_GET['p']) {
                echo get_the_title($_GET['p']);
            }
            ?>
        </a></h2>
    <?php global $query_string; ?>
    <?php query_posts($query_string . "&posts_per_page=1"); ?>

    <div style="font-size: 20px; font-weight: bold; margin-bottom: 20px; margin-top: -20px;"><a href="javascript:history.back()">&#9668 Atras</a></div>

    <?php custom_obtener_menus("MenuAcerca-de", "menu-acerca", "sub-menu-acerca"); ?>

    <div class="posts">
        <?php if (have_posts()) : the_post() ?>
            <div class="post" style="border-bottom: medium none;">
                <h3 style="border-bottom: 2px solid #59C5D1; padding-bottom: 10px;"><?php the_title(); ?><?php edit_post_link(__(''), '<span class="editar-caja">', '</span>', get_the_ID()); ?></h3>

                <?php if (get_the_post_thumbnail()) { ?>
                    <div class = "imagen">
                        <?php
                        $image_id = get_post_thumbnail_id();
                        $image_attributes = wp_get_attachment_image_src($image_id, 'medium');
                        ?>
                        <img src="<?php echo $image_attributes[0]; ?>" width="100%">
                    </div>
                <?php } ?>
                <?php the_content(); ?>
            </div>
            <?php
        else :
            echo 'No hay post en esta categoría..';
        endif;
        ?>
    </div>

</div>